Skip to content

Minor ReadMe updates and config files for Secret Manager #379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 14, 2020

Conversation

pmaytak
Copy link
Contributor

@pmaytak pmaytak commented Jul 14, 2020

  • Added JSON files related to Secret Manager.
  • Minor updates to ReadMe (samples 1-2, 1-3, 2-3) related to Identity Web 0.2.0.
  • Cleaned up Startup.cs in sample 5-2.

@pmaytak pmaytak requested review from jmprieur and jennyf19 July 14, 2020 07:06
@pmaytak pmaytak changed the title Pmaytak/docs Minor ReadMe updates and config files for Secret Manager Jul 14, 2020
Copy link
Contributor

@jmprieur jmprieur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Thanks @pmaytak

// See https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles for more info.
// Use the groups claim for populating roles
options.TokenValidationParameters.RoleClaimType = "groups";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that given there is a groups claims we'd better offer in Microsoft identity we method to verify that things are in groups, rather than doing a hack of mapping the claim so that it can be used in the Authorize attribute?
What do you think, @pmaytak ? @jennyf19 ? @kalyankrishna1 @TiagoBrenck @Shama-K ?

@pmaytak pmaytak merged commit 3c479b0 into master Jul 14, 2020
@pmaytak pmaytak deleted the pmaytak/docs branch July 14, 2020 16:10
@pmaytak pmaytak restored the pmaytak/docs branch July 22, 2020 07:52
@pmaytak pmaytak deleted the pmaytak/docs branch July 22, 2020 07:57
@pmaytak pmaytak restored the pmaytak/docs branch July 22, 2020 07:59
@pmaytak pmaytak deleted the pmaytak/docs branch July 22, 2020 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants